home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / 3c509drv.zip / IBMINS.BAT < prev    next >
DOS Batch File  |  1993-06-01  |  2KB  |  87 lines

  1. echo off
  2. REM %%VER OS/2 EE NDIS Drivers Installation Utility v2.0a
  3. if %mono%==y goto b&w
  4. ..\install\flushkey
  5. ..\install\check videocard
  6. if errorlevel 1 goto color
  7. :b&w
  8. cls
  9. goto contin
  10. :color
  11. ..\install\get b 31
  12. :contin
  13. type ..\blank2.men
  14. ..\install\echoxy 4 25 N D I S      M E N U
  15. ..\install\echoxy 6 17 I N S T A L L I N G     N D I S     D R I V E R S
  16. ..\install\echoxy 8 10 Installing the EtherLink III NDIS Driver on an
  17. ..\install\echoxy 9 10 IBM OS/2 EE Network Operating System.
  18. ..\install\echoxy 10 10 To install the driver you must have access to the
  19. ..\install\echoxy 11 10 server hard disk.
  20.  
  21. ..\install\echoxy 12 24 Continue? (y/n):
  22. ..\install\reply
  23. if errorlevel 122 goto inval
  24. if errorlevel 121 goto getdrv
  25. if errorlevel 111  goto inval
  26. if errorlevel 110  goto ndis
  27. if errorlevel 90  goto inval
  28. if errorlevel 89  goto getdrv
  29. if errorlevel 79  goto inval
  30. if errorlevel 78  goto ndis
  31. if errorlevel 60  goto inval
  32. if errorlevel 59  goto help
  33. if errorlevel 28  goto inval
  34. if errorlevel 27  goto ndis
  35. if errorlevel 1   goto inval
  36.  
  37. :getdrv
  38. ..\install\echoxy 12 10
  39. ..\install\get c "       Enter the target drive letter:  "
  40.  
  41. if errorlevel 127 goto inval
  42. if errorlevel 126 goto ndis
  43. if errorlevel 123 goto inval
  44. if errorlevel 97  goto contin1
  45. if errorlevel 91  goto inval
  46. if errorlevel 65  goto contin1
  47. if errorlevel 1   goto inval
  48.  
  49. :contin1
  50. if not exist %get%:\*.* goto baddrv
  51. set tardrv=%get%:
  52.  
  53. ..\install\echoxy 15 10
  54. ..\install\get n  "       Install files on drive %tardrv% (y/n): "
  55. if errorlevel 89 goto ok
  56. openins
  57. :ok
  58. os2ee\os2ee %tardrv%
  59.  
  60. :inval
  61. ..\install\echoxy 21 17 **** Invalid key, try again. ****
  62. echo 
  63. echo 
  64. echo.
  65. ibmins
  66.  
  67. :help
  68. ..\install\echoxy 24 1
  69. type os2ee\os2ee.hlp
  70. pause
  71. ibmins
  72.  
  73. :baddrv
  74. echo 
  75. echo 
  76. ..\install\echoxy 19 14 Invalid drive letter specified.
  77. ..\install\echoxy 20 14 Drive must exist or be linked before installation.
  78. ..\install\echoxy 22 13 Strike any key to continue.
  79. ..\install\reply
  80. ibmins
  81.  
  82. :ndis
  83. inspropt
  84.  
  85.  
  86.  
  87.